/*
 *    Copyright (c) 2018-2025, proj All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the proj developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: proj
 */

package com.ykht.proj.comsrv.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 轮播图
 *
 * @author proj code generator
 * @date 2020-11-16 17:21:47
 */
@Data
@TableName("cn_banner")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "轮播图")
public class CnBanner extends Model<CnBanner> {
private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableId
    @ApiModelProperty(value="")
    private Long id;
    /**
     * 类型0b端,1c端
     */
    @ApiModelProperty(value="类型0b端,1c端")
    private String bcType;
    /**
     * 页面标识名称
     */
    @ApiModelProperty(value="页面标识名称")
    private String pageTypeName;
    /**
     * 页面编号标识
     */
    @ApiModelProperty(value="页面编号标识")
    private Integer pageType;
    /**
     * 排序
     */
    @ApiModelProperty(value="排序")
    private Integer sort;
    /**
     * 状态：0上架1下架
     */
    @ApiModelProperty(value="状态：0上架1下架")
    private Integer status;
    /**
     * 图片地址
     */
    @ApiModelProperty(value="图片地址")
    private String pic;
    /**
     * 链接类型内外链:0内链,1外链
     */
    @ApiModelProperty(value="链接类型内外链:0内链,1外链")
    private Integer linkType;
    /**
     * 链接地址
     */
    @ApiModelProperty(value="链接地址")
    private String linkUrl;
    /**
     * 创建人
     */
    @ApiModelProperty(value="创建人")
    private Long createUser;
    /**
     * 修改人
     */
    @ApiModelProperty(value="修改人")
    private Long updateUser;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value="更新时间")
    private LocalDateTime updateTime;
    /**
     * 0可用1删除
     */
    @ApiModelProperty(value="0可用1删除")
	@TableLogic
    private Integer delFlag;
    /**
     * 租户ID
     */
    @ApiModelProperty(value="租户ID",hidden=true)
    private Integer tenantId;
    }
